package cn.tedu.fengyuback.personal.service;

import cn.tedu.fengyuback.personal.pojo.dto.ArticlesQuery;
import cn.tedu.fengyuback.personal.pojo.dto.FavoritesQuery;
import cn.tedu.fengyuback.personal.pojo.dto.LikesQuery;
import cn.tedu.fengyuback.personal.pojo.dto.UserQuery;
import cn.tedu.fengyuback.personal.pojo.vo.ArticlesVO;
import cn.tedu.fengyuback.personal.pojo.vo.UserFollowsVO;
import cn.tedu.fengyuback.personal.pojo.vo.UserVO;

import java.util.List;

public interface PersonalService {
    List<UserFollowsVO> selectUserFollows(UserQuery userQuery);

    void deleteByFollowsUserId(Long followsUserId);

    List<ArticlesVO> selectByIdArticle(ArticlesQuery articlesQuery);

    void changeLikesStatus(LikesQuery likesQuery);

    void changeFavoritesStatus(FavoritesQuery favoritesQuery);

    List<UserVO> selectUserUnFollows(Long id);


    void addFollows(Long id,Long data);


    void releaseArticle(ArticlesPram articlesPram);
}
